<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>内置关系</title>
</head>
<body>
<div id="root">

</div>

</body>

<script  src="../script/vue.js"></script>

<script>
    function Demo() {
        this.a = 1;
        this.b = 2;
    }
    const demo = new Demo();

    Demo.prototype.x = 99;

    console.log(Demo.prototype);

    console.log(demo.__proto__);

    console.log(demo.__proto__ === Demo.prototype);

    console.log(demo);

</script>

</html>